<script>
    export default{
        data(){
            return{
                receivedMsg:''
            }
        },
        methods:{
            receivedMessage(message){
                this.receivedMsg = message
            }
        }
    }
</script>

<template>
    <div>
        <p>{{ receivedMsg }}</p>
    </div>
</template>

<style scoped>
</style>
